Personal tools

Lua/Client/TabControl/Functions/AddPage

From JC2-MP Documentation

< Lua‎ | Client‎ | TabControl
Jump to: navigation, search

Returns    none
Prototype    TabControl:AddPage(TabButton)
Description    Adds the TabButton and its page.



Returns    TabButton
Prototype    TabControl:AddPage(string title, BaseWindow page)
Description    Adds a new TabButton with text title page page.



Returns    TabButton
Prototype    TabControl:AddPage(string title)
Description    Adds a new TabButton with text title and creates a new page.